package com.yidu.drug.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yidu.drug.common.Page;
import com.yidu.drug.model.DrugModuleModel;

public interface DrugModuleModelMapper {
	int deleteByPrimaryKey(String drugId);

    int insert(DrugModuleModel record);

    int insertSelective(DrugModuleModel record);

    DrugModuleModel selectByPrimaryKey(String drugId);

    int updateByPrimaryKeySelective(DrugModuleModel record);

    int updateByPrimaryKey(DrugModuleModel record);

	List<DrugModuleModel> findMoudelByManId(String manId);

	List<DrugModuleModel> findByPid(String string);

	List<DrugModuleModel> findAll(@Param("module")DrugModuleModel po, @Param("page")Page page);

	int findTotalRows(DrugModuleModel po);
}